package com.tedu.parkinglot.parkCard.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class ParkCardSaveParam {
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "车位卡Id")
    private String parkCardId;
    @ApiModelProperty(value = "车位卡名称")
    private String name;
    @ApiModelProperty(value = "车位卡类型")
    private String type;
    @ApiModelProperty(value = "车位卡价格")
    private Long price;
    @ApiModelProperty(value = "停车场Id")
    private Long parkingId;
    @ApiModelProperty(value = "车位卡状态")
    private String status;
    @ApiModelProperty(value = "可用数量")
    private Long avableNum;
    @ApiModelProperty(value = "发行数量")
    private Long maxCount;
    @ApiModelProperty(value = "有效期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date validDate;
    @ApiModelProperty(value = "说明")
    private String comment;
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
